package com.battery.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.sql.Timestamp;

@ApiModel(description = "押金订单类")
public class Feedback {
    @ApiModelProperty(name = "idea_id", value = "反馈id",required = true,example = "123")
    private int idea_id;
    @ApiModelProperty(name = "user_id", value = "反馈所属用户id", example = "123")
    private int user_id;
    @ApiModelProperty(name = "idea_content", value = "反馈内容", example = "")
    private String idea_content;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(name = "idea_time", value = "反馈时间", example = "")
    private Timestamp idea_time;
    @ApiModelProperty(name = "idea_status", value = "反馈状态", example = "")
    private int idea_status;

    public int getIdea_id() {
        return idea_id;
    }

    public void setIdea_id(int idea_id) {
        this.idea_id = idea_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getIdea_content() {
        return idea_content;
    }

    public void setIdea_content(String idea_content) {
        this.idea_content = idea_content;
    }

    public Timestamp getIdea_time() {
        return idea_time;
    }

    public void setIdea_time(Timestamp idea_time) {
        this.idea_time = idea_time;
    }

    public int getIdea_status() {
        return idea_status;
    }

    public void setIdea_status(int idea_status) {
        this.idea_status = idea_status;
    }

    public Feedback(int idea_id, int user_id, String idea_content, Timestamp idea_time, int idea_status) {
        this.idea_id = idea_id;
        this.user_id = user_id;
        this.idea_content = idea_content;
        this.idea_time = idea_time;
        this.idea_status = idea_status;
    }
}
